package com.qf.service;

import com.qf.entity.TlUser;
import com.qf.utils.ResultMsg;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    ResultMsg login(String userName, String userPass);//登录

    ResultMsg user(HttpServletRequest request);//查询当前登录的用户信息

    ResultMsg registvip(HttpServletRequest request);//注册会员

    ResultMsg regist(TlUser user);//注册

    ResultMsg updatetel(String tel, HttpServletRequest request);

    ResultMsg updatepass(String orderpass, String newuserpass, HttpServletRequest request);

    ResultMsg updatemail(String mail, HttpServletRequest request);

    ResultMsg usermail(String mail);

    ResultMsg logout(String uuid);

    ResultMsg deleteuser(String uuid);

    ResultMsg modify(TlUser user);
}
